package cn.plushine.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.NumberFormat;

import java.math.BigDecimal;
import java.util.List;

/**
 * 采购订单记录
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(description = "采购订单记录")
public class POrderItem {
    @ApiModelProperty(value = "编号")
    private String id;
    @ApiModelProperty(value = "货物数量")
    private int num;
    @ApiModelProperty(value = "货物id")
    private int goodsId;
    @ApiModelProperty(value = "货物进价")
    private BigDecimal inPrice;
    @ApiModelProperty(value = "供应商id")
    private int supplierId;
    @ApiModelProperty(value = "单位")
    private String unit;
    @ApiModelProperty(value = "入库的货物数目")
    private int flag;
    @ApiModelProperty(value = "仓库id")
    private int warehouseId;
    @ApiModelProperty(value = "分区id")
    private int warehouseAreaId;
    @ApiModelProperty(value = "库位id")
    private int warehousePositionId;
    @ApiModelProperty(value = "仓库")
    private String warehouse;
    @ApiModelProperty(value = "分区")
    private String warehouseArea;
    @ApiModelProperty(value = "库位")
    private String warehousePosition;
    @ApiModelProperty(value = "货物名称")
    private String goodsName;
    @ApiModelProperty(value = "品牌名称")
    private String brandName;
}
